import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/reset.css'
import 'element-ui/lib/theme-chalk/index.css'
import mycharts from 'echarts'
import 'echarts/map/js/china.js'
import 'three/src/Three.js'
import './assets/common.css'
import './assets/font/iconfont.css'
import axios from 'axios'
import 'babel-polyfill'


Vue.config.productionTip = false
Vue.prototype.$echarts = mycharts
Vue.use(ElementUI)
axios.defaults.withCredentials = true
Vue.prototype.$axios = axios
require('./mock')

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
